<!DOCTYPE html PUBLIC 
	"-//W3C//DTD XHTML 1.1 Transitional//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@taglib prefix="decorator" uri="http://www.opensymphony.com/sitemesh/decorator" %>
<%@taglib prefix="page" uri="http://www.opensymphony.com/sitemesh/page" %>
<%@taglib prefix="s" uri="/struts-tags" %>

<html lang="en">
<head>
	<title><decorator:title default="Clinica"/></title>
    <link href="<s:url value='/styles/main.css'/>" rel="stylesheet" type="text/css" media="all"/>
    <link href="<s:url value='/struts/niftycorners/niftyCorners.css'/>" rel="stylesheet" type="text/css"/>
    <link href="<s:url value='/struts/niftycorners/niftyPrint.css'/>" rel="stylesheet" type="text/css" media="print"/>
    <script language="JavaScript" type="text/javascript" src="<s:url value='/struts/niftycorners/nifty.js'/>"></script>
    <script language="JavaScript" type="text/javascript" src="<s:url value='/js/jQuery/jquery.dataTables.js'/>"></script>
    <script language="JavaScript" type="text/javascript" src="<s:url value='/js/jQuery/jquery.js'/>"></script>
    <script language="JavaScript" type="text/javascript" src="<s:url value='/js/funcoes.js'/>"></script>
	<script language="JavaScript" type="text/javascript">
        window.onload = function(){
            if(!NiftyCheck()) {
                return;
            }
            // perform niftycorners rounding
            // eg.
            // Rounded("blockquote","tr bl","#ECF1F9","#CDFFAA","smooth border #88D84F");
        }
    </script>
    <decorator:head/>
</head>
<body id="page-home">
    <div id="page">
        <div id="header" class="clearfix">
        	Clinica SuperCão
            <hr />
        </div>
        
        <div id="content" class="clearfix">
            <div id="main">
            	<h3><decorator:title default="Clinica-SuperÇão"/></h3>
            	<decorator:body/>
                <hr />
            </div>
            <s:if test="%{isLogado()}">
	            <div id="local">
					<div class="wrapper">
						<h3>Menu</h3>
						<ul>
							<li><a href="<%=request.getContextPath() %>/model/Animal!init.action">Cadastrar Animal</a></li>
							<li><a href="<%=request.getContextPath() %>/model/Dono!init.action">Cadastrar Dono</a></li>
							<li><a href="<%=request.getContextPath() %>/model/Veterinario!init.action">Cadastrar Veterinario</a></li>
							<li><a href="<%=request.getContextPath() %>/model/Funcionario!init.action">Cadastrar Funcionario</a></li>
							<li><a href="<%=request.getContextPath() %>/model/Consulta!init.action">Cadastrar Consulta</a></li>
							<li><a href="<%=request.getContextPath() %>/model/Home!initBuscas.action">Buscar</a></li>
					   </ul>
					</div>
				</div>
			</s:if>
            <div id="sub">
            	<h3>Sub Content</h3>
            </div> 
            <div id="nav">
                <div class="wrapper">
                <h3></h3>
                <ul class="clearfix">
                     <li><a href="#">Animais Cadastrados</a></li>
                     <li><a href="<%=request.getContextPath() %>/model/Dono!searchDonos.action">Donos Cadastrados</a></li>
                     <li><a href="#">Veterinarios Cadastrados</a></li>
                     <li class="last"><a href="#">Consultas marcadas</a></li>
                </ul>
                </div>
                <hr/>
            </div>
        </div>
        
        <div id="footer" class="clearfix">
            Clinica SuperCao
        </div>
        
    </div>
    
    <div id="extra1">&nbsp;</div>
    <div id="extra2">&nbsp;</div>
</body>
</html>
